]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Do not use markup in button labels
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 29 Jan 2024 15:18:31 +0000 (16:18 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jan 2024 22:15:53 +0000 (22:15 +0000)
commit92bea8a73e630145d9cc8f27cc2e8ce86299fd65
treef2c8286820309f99191f32f5b91e00d4c23f233c
parent7b4054564e4b89f0bee570938d2b822e0dc08661
st: Do not use markup in button labels

It sounds strange that buttons would admit Pango markup
in their label text. It sounds better to default to plain
text, and let users wanting markup to access the child
directly.

This also makes the first label being set consistent
with later text being assigned wrt markup usage, since
the non-markup ClutterText API is used if the child is
already present and of the expected type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3149>
src/st/st-button.c